home *** CD-ROM | disk | FTP | other *** search
- /***************************
- * browser tab styles
- ***************************/
-
- /* See bug 1261 */
- hbox.tabbrowser-strip {
- overflow: hidden;
- }
-
- .tabbrowser-tabs {
- background-image: url(chrome://global/skin/icons/tabbrowser-tabs-bkgnd.png) !important;
- height: 34px;
- -moz-box-align: end;
- }
-
- .tabbrowser-tab[selected="true"] .tab-text {
- font-weight: bold;
- }
-
- .tabbrowser-tab:not([selected="true"]) .tab-close-button {
- list-style-image: url(chrome://global/skin/icons/closetab.png);
- -moz-image-region: rect(0px, 16px, 16px, 0px);
- }
-
- .tabs-closebutton,
- .tabbrowser-tab > .tab-close-button {
- list-style-image: url(chrome://global/skin/icons/closetab.png);
- -moz-image-region: rect(0px, 16px, 16px, 0px);
- }
-
-
- .tabbrowser-tab:hover > .tab-close-button {
- list-style-image: url(chrome://global/skin/icons/closetab.png);
- cursor: pointer;
- }
-
- .tabs-closebutton:hover,
- .tabbrowser-tab > .tab-close-button:hover {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
- }
-
- .tabs-closebutton:hover:active,
- .tabbrowser-tab > .tab-close-button:hover:active {
- list-style-image: url(chrome://global/skin/icons/closetab.png) !important;
- -moz-image-region: rect(0px, 48px, 16px, 32px) !important;
- }
-
- .tabs-bottom {
-
- }
-
- .tabbrowser-tab {
- font-weight: normal !important;
- opacity: 1.0;
- height: 34px !important;
- -moz-border-radius: 0px !important;
- margin-top: 0px;
- margin-bottom: 0px !important; /* JMC Testing*/
- }
- .tabbrowser-tab:hover {
- background-image: none;
- background-color: transparent;
- }
- .tabbrowser-tab .tab-image-left,
- .tabbrowser-tab .tab-image-middle,
- .tabbrowser-tab .tab-image-right,
- .tabbrowser-tab .tab-close-button {
- height: 34px !important;
- }
-
- /* BC: Removing funny background color from the back of tabs */
- .tabbrowser-tab > .tab-image-left,
- .tabbrowser-tab > .tab-image-right
- {
- background-color: transparent;
- }
- .tabbrowser-tab:not([selected="true"]) > .tab-image-left,
- .tabbrowser-tab:not([selected="true"]) > .tab-image-right
- {
- background-color: transparent;
- }
- .tabbrowser-tab:hover:not([selected="true"]) > .tab-image-left,
- .tabbrowser-tab:hover:not([selected="true"]) > .tab-image-right
- {
- background-color: transparent;
- }
-
-
- .tabbrowser-tab:hover,
- .tabbrowser-tab[selected="true"] {
- opacity: 1.0;
- }
-
- .tabbrowser-tab .tab-text {
- }
-
- .tabbrowser-tab .tab-icon,
- .tabbrowser-tab .tab-close-button {
- }
-
- .tabbrowser-strip {
- overflow: hidden;
- }
-
- .tabs-bottom {
- height: 0px !important;
- background: none !important;
- border: 0px !important;
- }
-
-
- /* tabbar new tab button */
- .tabbar-newtab-button {
- -moz-appearance: none;
- border: 0;
- padding: 0;
- }
- /* BC: Old Tab-button CSS
- .tabbar-newtab-button {
- list-style-image: url("chrome://browser/skin/Toolbar.png");
- -moz-image-region: rect(3px 320px 32px 288px);
- }
-
- .tabbar-newtab-button:hover:active {
- -moz-image-region: rect(35px 320px 64px 288px);
- }
-
- .tabbar-newtab-button:hover {
- -moz-image-region: rect(99px 320px 128px 288px);
- }*/
-
- /* BC: Right now we need this button to be 29px height,
- * So I'm decreasing the bottom value by 3, (currently 32)
- */
- .tabbar-newtab-button {
- list-style-image: url("chrome://browser/skin/Toolbar.png");
- -moz-image-region: rect(0px 782px 29px 750px);
- }
- .tabbar-newtab-button:active,
- .tabbar-newtab-button:hover:active {
- -moz-image-region: rect(100px 782px 129px 750px);
- }
-
- .tabbar-newtab-button:hover {
- -moz-image-region: rect(50px 782px 79px 750px);
- }
-
- /* BC: apr12 - New Tab Theming */
-
- /* Tabs, left-side */
-
- /* Tab, left, Active */
- .tabbrowser-tab[selected="true"] > .tab-image-left {
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-left.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, left, inactive */
- .tabbrowser-tab:not([selected="true"]) > .tab-image-left {
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-left-inact.png") no-repeat;
- background-color: transparent;
- }
- /* Tab, left (reverse), inactive */
- .tabbrowser-tab[chromedir="rtl"]:not([selected="true"]) > .tab-image-left {
- background: url("chrome://global/skin/tabs/tab-right-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab left edge, inactive, hover */
- .tabbrowser-tab:hover:not([selected="true"]) > .tab-image-left {
- background: url("chrome://global/skin/tabs/tab-left-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab left edge, first-tab, inactive, hover || normal */
- .tabbrowser-tab:hover:not([selected="true"])[first-tab="true"] > .tab-image-left,
- .tabbrowser-tab:not([selected="true"])[first-tab="true"] > .tab-image-left {
- width: 16px;
- background: url("chrome://global/skin/tabs/tab-left-inact-firsttab.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab left edge, first-tab, inactive, hover || normal */
- .tabbrowser-tab:hover[selected="true"][first-tab="true"] > .tab-image-left,
- .tabbrowser-tab[selected="true"][first-tab="true"] > .tab-image-left {
- width: 16px;
- background: url("chrome://global/skin/tabs/tab-left-firsttab.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab left edge, inactive, reverse mode, hover */
- .tabbrowser-tab[chromedir="rtl"]:hover:not([selected="true"]) > .tab-image-left {
- background: url("chrome://global/skin/tabs/tab-right-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, left, after selected, inactive, hover || normal */
- .tabbrowser-tab:hover:not([selected="true"])[afterselected="true"] > .tab-image-left,
- .tabbrowser-tab:not([selected="true"])[afterselected="true"] > .tab-image-left
- {
- background: url("chrome://global/skin/tabs/tab-left-after-selected.png") no-repeat;
- background-color: transparent;
- }
-
-
- /* Tabs, middle */
- /* Tab, middle, active */
- .tabbrowser-tab > .tab-image-middle {
- background: url("chrome://global/skin/tabs/tab-active-mid.png") repeat-x;
- background-color: transparent;
- }
-
- /* Tab, middle, inactive */
- .tabbrowser-tab:not([selected="true"]) > .tab-image-middle {
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-inact-mid.png") repeat-x;
- background-color: transparent;
- }
-
- /* Tab, Middle, inactive, hover - (no hover state) */
- .tabbrowser-tab:hover:not([selected="true"]) > .tab-image-middle {
- background: url("chrome://global/skin/tabs/tab-inact-mid.png") repeat-x;
- background-color: transparent;
- }
-
- /* Tabs, right */
-
- /* Tab, Right, Active */
- .tabbrowser-tab[selected="true"] > .tab-image-right {
- margin-bottom: 1px;
- width: 10px;
- background: url("chrome://global/skin/tabs/tab-right.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, Right, inactive */
- .tabbrowser-tab:not([selected="true"]) > .tab-image-right {
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-right-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, right (reverse), inactive */
- .tabbrowser-tab[chromedir="rtl"]:not([selected="true"]) > .tab-image-right {
- background: url("chrome://global/skin/tabs/tab-left-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, right, inactive, hover */
- .tabbrowser-tab:hover:not([selected="true"]) > .tab-image-right {
- background: url("chrome://global/skin/tabs/tab-right-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, right (reverse), inactive, hover */
- .tabbrowser-tab[chromedir="rtl"]:hover:not([selected="true"]) > .tab-image-right {
- background: url("chrome://global/skin/tabs/tab-left-inact.png") no-repeat;
- background-color: transparent;
- }
-
- /* Tab, right, before selected, inactive, Hover || Normal */
- .tabbrowser-tab:hover:not([selected="true"])[beforeselected="true"] > .tab-image-right,
- .tabbrowser-tab:not([selected="true"])[beforeselected="true"] > .tab-image-right
- {
- background: url("chrome://global/skin/tabs/tab-right-before-selected.png") no-repeat;
- background-color: transparent;
- }
-
- /* BC Can't use last-tab yet, its messed up in the xul somehow
- .tabbrowser-tab[selected="true"]:not([first-tab="true"])[last-tab="true"] > .tab-image-right {
- width: 16px;
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-right-lasttab.png") no-repeat;
- background-color: transparent;
- }
- */
-
- /* Tab, Right, in-active, last-tab
- .tabbrowser-tab:not([selected="true"]):not([first-tab="true"])[last-tab="true"] > .tab-image-right {
- width: 16px;
- margin-bottom: 1px;
- background: url("chrome://global/skin/tabs/tab-right-inact-lasttab.png") no-repeat;
- background-color: transparent;
- }
- */
-
- /* Tabs, close button */
- /* Tab, Active, middle */
- .tabbrowser-tab > .tab-close-button {
- background-image: url("chrome://global/skin/tabs/tab-active-mid.png");
- background-color: transparent;
- }
- /* Tab, inactive, middle */
- .tabbrowser-tab:not([selected="true"]) > .tab-close-button {
- background-image: url("chrome://global/skin/tabs/tab-inact-mid.png");
- background-color: transparent;
- }
-
- /* BC: End shadow cap, using new tab button */
- .tabbar-newtab-button {
- background-image: url("chrome://global/skin/tabs/tab-lasttab-shadow.png");
- background-repeat: no-repeat;
- background-color: transparent;
- }
-